home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 1 / Windows 6-Pak (InfoMagic) (Disc 1) (1999).ISO / Gaming-Utilities / qssetup.exe / qselectv.bat < prev   
DOS Batch File  |  1998-04-24  |  1KB  |  68 lines

  1. @echo off
  2. if exist success.tmp del success.tmp
  3. if not exist quake2.exe goto error1
  4.  
  5. if "%1" == "305" goto 305
  6. if "%1" == "310" goto 310
  7. goto error2
  8.  
  9. :305
  10. echo Creating backup version...
  11. md 305
  12. md 305\baseq2
  13.  
  14. rem These are the essential files.
  15. copy quake2.exe 305
  16. copy ref_gl.dll 305
  17. copy ref_soft.dll 305
  18. copy pvrgl.dll 305
  19. copy 3dfxgl.dll 305
  20. copy baseq2\gamex86.dll 305\baseq2
  21.  
  22. rem These are the additional files, they are not required.
  23. copy license.txt 305
  24.  
  25. rem xcopy32 baseq2\Players\*.* 305\baseq2 /F /s /r
  26. echo Complete.
  27. goto success
  28.  
  29. :310
  30. echo Creating backup version...
  31. md 310
  32. md 310\baseq2
  33.  
  34. rem These are the essential files.
  35. copy quake2.exe 310
  36. copy ref_gl.dll 310
  37. copy ref_soft.dll 310
  38. copy baseq2\gamex86.dll 310\baseq2
  39.  
  40. rem These are the additional files, they are not required.
  41. copy joystick.txt 310
  42. copy readme.txt 310
  43.  
  44. rem copy pvrgl.dll 310
  45. rem copy 3dfxgl.dll 310
  46. rem xcopy32 baseq2\Players\*.* 310\baseq2 /F /s /r
  47. echo Complete.
  48. goto success
  49.  
  50. :error1
  51. echo Error starting backup !!!
  52. echo Program must be located in your Quake dir to run properly.
  53. pause
  54. goto end
  55.  
  56. :error2
  57. echo Error starting backup !!!
  58. echo This batch file may only be started from the QSelect program.
  59. pause
  60. goto end
  61.  
  62. :success
  63. copy nul > success.tmp
  64.  
  65.  
  66. :end
  67. echo on
  68.